package com.github.gaojh.server.http;

import com.github.gaojh.mvc.filter.FilterChain;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;
import lombok.Data;

/**
 * @author gaojh
 * @since 2020/3/23
 */
@Data
public class HttpContext {

    private HttpRequest httpRequest;

    private HttpResponse httpResponse;

    private ChannelHandlerContext ctx;

    private FullHttpRequest request;

    private boolean staticResourceBool;

    private StaticResource staticResource;

    private String result;

    //是否拦截成功
    private boolean interceptorBool;

    private FilterChain filterChain;
}
